package org.boot.fast.core.api.mapper.provider.entity;

import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * 描述: 动态SQL分析结果实体类
 */
@Data
public class AnalysisResultInfo {
    private String sql;
    private Map<String, Object> param;
    private List<Map<String, Object>> params;


    public AnalysisResultInfo(String sql) {
        this.sql = sql;
    }
    public AnalysisResultInfo(String sql, Map<String, Object> param) {
        this.sql = sql;
        this.param = param;
    }

    public AnalysisResultInfo(String sql, List<Map<String, Object>> params) {
        this.sql = sql;
        this.params = params;
    }
}
